<?php

	include("funktionenInterface.php");
	include("email.php");
	
	if(isset($_POST['vorname'])){
	
		sendeEmail($_POST['vorname'], $_POST['nachname'], $_POST['email'], $_POST['nachricht']);
	
        $datum = date("d.m.Y");    
        $uhrzeit = date("H:i");     
        echo fuege_dazu($_POST['vorname'], $_POST['nachname'], $_POST['email'], $_POST['nachricht'], $datum, $uhrzeit);
  
	}	
	
	
?>